package com.ssy.lingxi.contract.model.vo.coordination.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 关联商品接口参数VO
 * @author 伍将
 * @date 2021/3/2
 * @version 2.0.0
 */
public class AssociatedGoodsUpdateVO implements Serializable {
    private static final long serialVersionUID = -5799569898970864255L;

    /**
     * 合同id
     */
    @NotNull(message = "合同id需大于0")
    @Positive(message = "合同id需大于0")
    private Long contractId;

    /**
     * 采购物料id
     */
    @NotNull(message = "采购物料id需大于0")
    @Positive(message = "采购物料id需大于0")
    private Long purchaseMaterielId;

    /**
     * 关联报价商品
     */
    @NotBlank(message = "关联报价商品不能为空")
    private String associatedGoods;

    /**
     * 关联数据id
     */
    @NotNull(message = "关联数据id需大于0")
    @Positive(message = "关联数据id需大于0")
    private Long associatedDataId;

    /**
     * 关联规格型号
     */
    private String associatedType;

    /**
     * 关联品类
     */
    private String associatedCategory;

    /**
     * 关联品牌
     */
    private String associatedBrand;

    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }

    public Long getPurchaseMaterielId() {
        return purchaseMaterielId;
    }

    public void setPurchaseMaterielId(Long purchaseMaterielId) {
        this.purchaseMaterielId = purchaseMaterielId;
    }

    public String getAssociatedGoods() {
        return associatedGoods;
    }

    public void setAssociatedGoods(String associatedGoods) {
        this.associatedGoods = associatedGoods;
    }

    public Long getAssociatedDataId() {
        return associatedDataId;
    }

    public void setAssociatedDataId(Long associatedDataId) {
        this.associatedDataId = associatedDataId;
    }

    public String getAssociatedType() {
        return associatedType;
    }

    public void setAssociatedType(String associatedType) {
        this.associatedType = associatedType;
    }

    public String getAssociatedCategory() {
        return associatedCategory;
    }

    public void setAssociatedCategory(String associatedCategory) {
        this.associatedCategory = associatedCategory;
    }

    public String getAssociatedBrand() {
        return associatedBrand;
    }

    public void setAssociatedBrand(String associatedBrand) {
        this.associatedBrand = associatedBrand;
    }
}
